package com.wz.project.bas.workshopChangeRd.domain;

import com.wz.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 基础车间班组交接班记录表 bas_workshop_change_rd
 * 
 * @author sys
 * @date 2021-10-28
 */
public class WorkshopChangeRd extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id主键 */
	private String id;
	/** 车间班组id（不允许为空） */
	private String classgroupNumber;
	/** 车间班次名称（允许为空） */
	private String classgroupName;
	/** 交班时间（允许为空） */
	private String shiftTime;
	/** 接班时间（允许为空） */
	private String sussessionTime;
	/** 用户id */
	private String userId;
	/** 车间上一班次id */
	private String lastClassgroupNumber;
	/** 车间上一班次名称 */
	private String lastClassgroupName;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setClassgroupNumber(String classgroupNumber) 
	{
		this.classgroupNumber = classgroupNumber;
	}

	public String getClassgroupNumber() 
	{
		return classgroupNumber;
	}
	public void setClassgroupName(String classgroupName) 
	{
		this.classgroupName = classgroupName;
	}

	public String getClassgroupName() 
	{
		return classgroupName;
	}
	public void setShiftTime(String shiftTime) 
	{
		this.shiftTime = shiftTime;
	}

	public String getShiftTime() 
	{
		return shiftTime;
	}
	public void setSussessionTime(String sussessionTime) 
	{
		this.sussessionTime = sussessionTime;
	}

	public String getSussessionTime() 
	{
		return sussessionTime;
	}
	public void setUserId(String userId) 
	{
		this.userId = userId;
	}

	public String getUserId() 
	{
		return userId;
	}
	public void setLastClassgroupNumber(String lastClassgroupNumber) 
	{
		this.lastClassgroupNumber = lastClassgroupNumber;
	}

	public String getLastClassgroupNumber() 
	{
		return lastClassgroupNumber;
	}
	public void setLastClassgroupName(String lastClassgroupName) 
	{
		this.lastClassgroupName = lastClassgroupName;
	}

	public String getLastClassgroupName() 
	{
		return lastClassgroupName;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classgroupNumber", getClassgroupNumber())
            .append("classgroupName", getClassgroupName())
            .append("shiftTime", getShiftTime())
            .append("sussessionTime", getSussessionTime())
            .append("userId", getUserId())
            .append("lastClassgroupNumber", getLastClassgroupNumber())
            .append("lastClassgroupName", getLastClassgroupName())
            .toString();
    }
}
